<template>
  <div class="mobile-container">

  </div>
</template>

<script lang="ts">
import {useRouter} from "vue-router";
import {useStore} from "vuex";
import {Notify} from "vant";
import {reactive, ref} from "vue";

export default {
  name: "mobile_create_invite",
  setup() {
    const router = useRouter();
    const store = useStore();
    const create_invite_link = function (begin_time:Date,end_time:Date,invite_count:number=1){
      fetch("api/club/"+router.currentRoute.value.query.clubid+"/invite/link",{
        method:"POST",
        headers:{
          "Content-Type":"application/json"
        },
        body:JSON.stringify(
            {
              begin_time:begin_time.toISOString(),
              end_time:end_time.toISOString(),
              invite_count:invite_count
            }
        )
      })
    }
    return {
      router
    }
  }
}
</script>

<style scoped>
.mobile-container {
  padding-top: 30px;
  padding-bottom: 200px;
}
</style>